﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Frag help</title>
</head>
<body>
    <a href="javascript:window.close();">Close</a>
    <h1>
        Introduction</h1>
    <p>
        <i>frag</i> is a multiplayer game based on the game from Steve Jackson Games.
    </p>
    <h1>
        Controls</h1>
    <p>
        To move, click on the target square in the same row or column as your current position.<br />
        To attack, click on the target player.<br />
        Click &quot;Finish turn&quot; if you wish to finish your turn while you still have
        moves or shots left.<br />
        Click &quot;Undo&quot; to undo your last moves.<br />
        Click &quot;Redo&quot; after clicking &quot;Undo&quot; to redo your last moves.
    </p>
    <h1>
        Game Rules</h1>
    <h2>
        Setup</h2>
    <ol>
        <li>Each fighter has 3 stats: Health, Speed and Accuracy.
            <ol>
                <li>Accuracy determines the chance of hitting the target and the number of shots per
                    turn.</li>
                <li>Health is the player&#39;s initial health. A player with a higher health score will
                    also be harder to hit.</li>
                <li>Speed determines the number of dice thrown to determine the player&#39;s moves per
                    turn.</li>
            </ol>
        </li>
        <li>Each fighter chooses their stats so that each stat is between 1-4, and the sum of
            the stats is 7. </li>
        <li>Each fighter is positioned randomly on one square of the board. </li>
    </ol>
    <h2>
        Gameplay</h2>
    <p>
        The fighters take turns playing. Each turn consists of these phases:
        <ol>
            <li>Roll an amount of dice equal to the fighter&#x27;s speed to determine the number
                of steps the fighter can take this turn. </li>
            <li>Move up to as many steps as allowed, according to the dice rolls. </li>
            <li>Attack up two as many times as allowed per turn. </li>
            <li>Finish the turn. </li>
        </ol>
        Phases 2 and 3 can occur together - The fighter may move, shoot and move again.
        A player may finish the turn even if they have more moves or shots left.
    </p>
    <h3>
        Movement</h3>
    <p>
        The fighter can move in either horizontally or vertically. A fighter can&#x27;t
        move off the boundaries of the board. A fighter can move through another fighter,
        but not stop there (he has to keep moving).
    </p>
    <h3>
        Attacking</h3>
    <p>
        To attack, the player must perform the following:
        <ol>
            <li>Choose a target. </li>
            <li>Calculate the distance between his fighter and the target. The distance is the number
                of tiles needed to walk from the fighter&#x27;s position to the target&#x27;s position
                (equal to the sum of the horizontal and vertical distances). </li>
            <li>Check for hit: Roll an amount of dice equal to the attacker&#x27;s accuracy. If
                the result is higher than the distance between the fighter and his target, the attack
                hits. for damage: The attacker rolls two dice, and the target rolls as many dice
                as their current health points. The damage is calculated as the quotient (without
                remainder) between the attacker&#x27;s roll and the target&#x27;s roll. </li>
            <li>Decrease the tDecrease the target&#x27;s health by the amount of damage. </li>
        </ol>
    </p>
    <h2>
        Victory</h2>
    <p>
        When a fighter&#x27;s health drops to 0 or below, he is fragged, and is removed
        from the game. The winner is the last player left.
    </p>
</body>
</html>
